package com.chance.cc.crawler.prod.command.trigger.domain.news.ifeng;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.meta.core.bean.CrawlerMetaConstant;
import com.chance.cc.crawler.prod.command.job.domain.news.ifeng.realtime.IFengCarRealtimeCrawlerScheduleJob;
import com.chance.cc.crawler.prod.command.trigger.CommonCrawlerSchedulerTrigger;


public class ifengCarCrawlerScheduleTrigger extends CommonCrawlerSchedulerTrigger {
    public static void main(String[] args) {
        publishIFengCarRealtimeScheduleTriggerInfo();
    }

    public static void publishIFengCarRealtimeScheduleTriggerInfo() {
        CrawlerJob crawlerJob = IFengCarRealtimeCrawlerScheduleJob.crawlerScheduler();
        metaServiceCommand_17.addOrUpdateScheduleCrawlerTrigger(
                crawlerJob.generateCrawlerKey(),
                crawlerJob.generateCrawlerTriggerKey(),
              IFengCarRealtimeCrawlerScheduleJob.domain,
                CrawlerMetaConstant.ScheduleJobTrigger_Cron,
                //"0 0 3 * * ?",
                "",
                "凤凰网车系id等信息采集任务，每月采集一次"
        );
    }
}
